#ifndef __SW_INFO_H
#define __SW_INFO_H


#define SW_MAX_NUMBER	11
#define SW_INFO_TYPE_NUM	22
#define SW_INFO_BYTES	(SW_INFO_TYPE_NUM*2)
#define SW_VILID	0X3FFFFF

void swinfo_init(void);
uint8_t swinfo_get_number(void);
uint32_t swinfo_get_conflag(void);
uint32_t swinfo_get_state(void);
uint8_t swinfo_get_extras(void);
void swinfo_set_number(uint8_t value);
void swinfo_set_conflag(uint32_t value);
void swinfo_set_state(uint32_t value);
void swinfo_set_extras(uint8_t value);
uint8_t swinfo_get_info(uint8_t ch,uint8_t *buf);
void swinfo_set_info(uint8_t funcAdd,uint8_t *buf,uint8_t swNum);

#endif

